<template>
	<view>
		<page-head headTitle="全部评价" :returnButton="true" @clickLeftReturn="clickLeftReturn"></page-head>
		<view class="m-t9">
			<view>
				<view class="p-l-r3 p-t4">
					<view class="flex justify-between">
						<view class="flex align-center">
							<image src="/static/images/picture.png" class="user-pic"></image>
							<view class="ml-2 all-name">
								<text class="fs-2 p-t2">灰灰的狼</text>
								<view class="m-t-18"><uni-rate disabled="true" value="5" size="12"></uni-rate></view>
							</view>
						</view>
						<text class="input-goods fs-24">2020-03-21</text>
					</view>
					<view class="input-goods fs-24 m-t-3">超级无敌美味！！无限回购超级无敌美味！！无限回购超级无敌美味！！无限回购</view>
				</view>
				<view class="p-l2 p-r2 m-t-2 m-b">
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
					<image src="/static/images/gict.png" class="all-pic p-l1 p-r1" mode="widthFix"></image>
				</view>
				<border></border>
			</view>
			<view>
				<evaluate></evaluate>
				<border></border>
			</view>
		</view>
	</view>
</template>

<script>
import pageHead from '@/components/common/page-head.vue'
import evaluate from '@/components/common/evaluate.vue'
import border from '@/components/common/border.vue'
	export default {
		components:{
			pageHead,
			evaluate,
			border,
			goodsId:'',
		},
		data() {
			return {
				
			}
		},
		onLoad() {
			this.getAllEvaluate();
		},
		methods: {
			clickLeftReturn(){
				uni.navigateBack({
				    delta: 1
				});
			},
			getAllEvaluate(){
				this.$myRequest({
					method:'POST',
					url:'/api/goods/comments',
					data:{
						id:this.orderSn,
						page:this.page
					}
				}).then(res=>{
					console.log(res);
					if(res.data.code == 1){
						
					}	
				})
			}
			
			
		}
	}
</script>

<style scoped>
page{background-color: #FFFFFF;}
.all-name{margin-top: -16rpx;}
.user-pic{width: 80rpx;height: 80rpx;}
.all-pic{width: 33.3%;height: auto;}
</style>
